package com.service.yxyService;

import com.bean.yxy.*;
import com.dao.yxy.GetDataDao;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author 余襄元
 * @date 2023/2/27
 * @projectName 二期项目
 **/
@Service
public class GetDataService {
    @Resource
    private GetDataDao getDataDao;

    public Object getListxiaoqu(){
        return getDataDao.getListxiaoqu();
    }

    public Object getListshoufeixiangmu(Integer newPage){
        return getDataDao.getListshoufeixiangmu(newPage);
    }

    public Object delectjilu(String sid){
        return getDataDao.delectjilu(sid);
    }

    public Object delectjilus(Object[] obj){
        return getDataDao.delectjilus(obj);
    }

    public Object selectmags(Integer id,String xqid,String name){
        return getDataDao.selectmags(id,xqid,name);
    }

    public Object add(Yxy1 y){
        return getDataDao.add(y);
    }

    public Object getselect101(){
        return getDataDao.getselect101();
    }

    public Object selectAllbiao(){
        return getDataDao.selectAllbiao();
    }

    public Object selecttiaojianchaxun(String tid,String text){
        return getDataDao.selecttiaojianchaxun(tid,text);
    }

    public Object delectchid(String chid){
        return getDataDao.delectchid(chid);
    }

    public Object delectchids(Object[] arr){
        return getDataDao.delectchids(arr);
    }

    public Object xiaoqulist1(){
        return getDataDao.xiaoqulist1();
    }
    public Object getlouyulist(String id){
        return getDataDao.getlouyulist(id);
    }


    public Object xiugaimingxibiaoone(String did,String zl){
        return getDataDao.xiugaimingxibiaoone(did,zl);
    }

    public Object addzhangdanmingxi(Yxy3 y){
        return getDataDao.addzhangdanmingxi(y);
    }

    public Object getdanyuanlist(String id){
        return getDataDao.getdanyuanlist(id);
    }

    public Object getfanghaolist(String id){
        return getDataDao.getfanghaolist(id);
    }

    public Object addxiangmulist1(String vid){
        return getDataDao.addxiangmulist1(vid);
    }

    public Yxy3 getids(Yxy4 y ){
        return getDataDao.getids(y);
    }




//    第三
    public Object getallfeiyongcuijiao(){
        return getDataDao.getallfeiyongcuijiao();
    }
    public Object fasongduanxing(String [] str){
       return getDataDao.fasongduanxing(str);
    }


    /**
     * 4
     * @param did
     * @return
     */
    public Object jieshuan(String did){
        return getDataDao.jieshuan(did);
    }

    public Object chaxunfout(String fangshi,String text){
        return getDataDao.chaxunfout(fangshi,text);
    }





    /**
     * 5管理员加载所有人的缴费明细
     * @param setter
     * @return
     */
    public Object bianhuachaxu(String setter){
        return getDataDao.bianhuachaxu(setter);
    }

    /**
     * 5住户加载自己的缴费明细
     * @param setter
     * @param aid
     * @return
     */
    public Object bianhuachaxu1(String setter,String aid){
        return getDataDao.bianhuachaxu1(setter,aid);
    }

    /**
     * 住户自己缴费
     * @param aid
     * @return
     */
    public Object zhuhujiaofei(String aid){
        return getDataDao.zhuhujiaofei(aid);
    }


    /**
     * 问卷时间校对
     */
    public void timejiaodui(){
        getDataDao.timejiaodui();
    }

    /**
     * 问卷调查-查询所有问卷信息
     * @return
     */
    public Object getAllwenjuan(){
        return getDataDao.getAllwenjuan();
    }
    public Object xiangxixinxi(String vid){
        return getDataDao.xiangxixinxi(vid);
    }
    public Object getdaan(String vid,String sid){
        return getDataDao.getdaan(vid,sid);
    }
    public Object getdaan1(String vid,String sid){
        return getDataDao.getdaan1(vid,sid);
    }
    public Object adddaan(List<Questionnaire> lis){
        return getDataDao.adddaan(lis);
    }
    public Object gettimuleixing(String sid){
        return getDataDao.gettimuleixing(sid);
    }

    public Object addtimu(String timu,String vid,String lx){
        return getDataDao.addtimu(timu, vid,lx);
    }
    public Object chaxunbiaotiba(String biaotimc){
        return getDataDao.chaxunbiaotiba(biaotimc);
    }

    public Object delecttimu(String sid){
        return getDataDao.delecttimu(sid);
    }
    public Object delectdaan(String daid){
        return getDataDao.delectdaan(daid);
    }

    public Object delectdaan1(String daid){
        return getDataDao.delectdaan1(daid);
    }

    public Integer uploadFile(Yxy0 y,String filename){
        return getDataDao.uploadFile(y,filename);
    }


    public Object delectbiaoti(String[] ar){
        return getDataDao.delectbiaoti(ar);
    }

    public Object  gettimeByvid(String vid){
        return  getDataDao.gettimeByvid(vid);
    }
    public Object istoupiao(String vid){
        return getDataDao.istoupiao(vid);
    }

    public Object yonghutoupiao(String fig,String tpid){
        return getDataDao.yonghutoupiao(fig,tpid);
    }



    public Object gettabletoupiaolist(String sid){
        return  getDataDao.gettabletoupiaolist(sid);
    }

    public Object gettoupiao(String sid){
        return  getDataDao.gettoupiao(sid);
    }
}
